//路由配置

import { createBrowserRouter } from 'react-router-dom'

import Login from '@/pages/Login'
import Layout from '@/pages/Layout'

const router=createBrowserRouter([
  {
    path:'/',
    element:<Layout />
  },
  {
    path:'/login',
    element:<Login />
  }
])

export default router